<template>
  <!-- 项目实施 - 4计划审批 -->
  <div class="plan-approval">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="计划审批" name="tab1">
        <planApprovalContent></planApprovalContent>
      </el-tab-pane>
      <el-tab-pane label="审批记录" name="tab2">
        <approvalRecordContent></approvalRecordContent>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import approvalRecordContent from './components/planApproval/approvalRecordContent';
import planApprovalContent from "./components/planApproval/planApprovalContent";
export default {
  name: "planApproval",
  components: {planApprovalContent, approvalRecordContent},
  data() {
    return {
      activeName: 'tab1'
    };
  },
  mounted() {},
  methods: {
    /**
     * @author Wrl
     * 切换 Tab
     */
    handleClick(tab, event) {}
  }
};
</script>
<style lang="scss" scoped>
  .plan-approval {
    padding: 16px;
  }
</style>